package com.fc.redap.dtos;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonSerialize
@Getter
@Setter
public class LoginRequest {
    @ApiModelProperty(value = "username", dataType="String")
    private String username;
    @ApiModelProperty(value = "phone", dataType="String")
    private String phone;
    @ApiModelProperty(value = "password", dataType="String")
    private String password;
    @ApiModelProperty(value = "rememberMe", dataType="String")
    private Boolean rememberMe;
    @ApiModelProperty(value = "smsCode", dataType="String")
    private String smsCode;
    @ApiModelProperty(value = "loginMethod", dataType="String",  required = true, notes=" 'BY_USERNAME'- 用户名密码登陆  'BY_PHONE'-手机号码密码登陆 'BY_SMS_CODE'-手机号码验证码登陆")
    private String loginMethod;
}
